package com.amoyt.project.mapper;

import com.amoyt.project.domain.dto.query.LogPageQuery;
import com.amoyt.project.domain.pojo.OperationLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Date: 2025/8/24
 * @Time: 10:02
 * @Author: TQ_QT
 * @Description: 操作日志记录
 */
@Mapper
public interface OperationLogMapper extends BaseMapper<OperationLog> {
    /**
     * 查询操作日志列表
     *
     * @param query
     * @return
     */
    Page<OperationLog> queryLogList(@Param("page") Page<OperationLog> page, @Param("query") LogPageQuery query);
}
